package com.yangguang.huahui.ui.fragments;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import com.yangguang.huahui.R;
import com.yangguang.huahui.ui.activitys.FindSellerActivity;

import butterknife.OnClick;

/**
 * Created by Administrator on 2017/3/7.
 */

public class FindFragment extends BaseFragment{
    public static FindFragment newInstance(String type){
        FindFragment fragment = new FindFragment();
        Bundle arguments = new Bundle();
        arguments.putString("type", type);
        fragment.setArguments(arguments);
        return fragment;
    }

    @OnClick({R.id.mLL_sellers})
    void onclick(View view){
        switch (view.getId()){
            case R.id.mLL_sellers:
                startActivity(new Intent(mActivity, FindSellerActivity.class));
                break;
        }
    }
    @Override
    protected int initLayoutId() {
        return R.layout.index_find;
    }

    @Override
    protected void initView() {

    }

    @Override
    protected void initData() {

    }
}
